STANDING algorithm